{{ define "user/register.html" }}

{{ template "base/base_header.html" .}}

<head>
	<title>天天生鲜-注册</title>
	{{ template "base/base_import.html" .}}

</head>

<body>
	<div class="register_con">
		<div class="l_con fl">
			<a href="/ttsx/index" class="reg_logo"><img src="/static/images/logo02.png"></a>
			<div class="reg_slogan">足不出户  ·  新鲜每一天</div>
			<div class="reg_banner"></div>
		</div>

		<div class="r_con fr">
			<div class="reg_title clearfix">
				<h1>用户注册</h1>
				<a href="/ttsx/user/login">登录</a>
			</div>
			<div class="reg_form clearfix">
				<form action="/ttsx/user/register" method="post">
					<ul>
						<li>
							<label>用户名:</label>
							<input type="text" name="user_name" id="user_name" value="hellen" placeholder="请输入5-20个字符的用户名">
							<span class="error_tip">提示信息</span>
						</li>					
						<li>
							<label>密码:</label>
							<input type="password" name="pwd" id="pwd" value="zcxc1234" placeholder="请输入用户密码">
							<span class="error_tip">提示信息</span>
						</li>
						<li>
							<label>确认密码:</label>
							<input type="password" name="cpwd" id="cpwd" value="zcxc1234" placeholder="请输入用户密码">
							<span class="error_tip">提示信息</span>
						</li>
						<li>
							<label>邮箱:</label>
							<input type="text" name="email" id="email" value="1583782303@qq.com" placeholder="请输入注册邮箱">
							<span class="error_tip">提示信息</span>
						</li>
						<li class="agreement">
							<input type="checkbox" name="allow" id="allow" checked="checked">
							<label>同意”天天生鲜用户使用协议“</label>
							<span class="error_tip">提示信息</span>
						</li>
						<li class="reg_sub">
							<input type="submit" value="注 册" name="">
						</li>
					</ul>				
				</form>
			</div>
		</div>
	</div>
	{{ .errMsg }}
	
	{{ template "base/base_bottom.html" .}}
</body>
</html>

{{ end }}